﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UCS.ArtificialInteligence.NumbersProblem.Model
{
    public class BoardPosition : ICloneable
    {
        #region Attributes and Properties

        private int _i;
        public int I
        {
            get { return _i; }
            set { _i = value; }
        }

        private int _j;
        public int J
        {
            get { return _j; }
            set { _j = value; }
        }

        private int _value;
        public int Value
        {
            get { return _value; }
            set { _value = value; }
        }

        #endregion

        #region Contructors

        public BoardPosition(int i, int j, int value)
        {
            _i = i;
            _j = j;
            _value = value;
        }

        #endregion

        #region Public Methods

        public object Clone()
        {
            return new BoardPosition(_i, _j, _value);
        }

        #endregion
    }
}
